'Declaration Public Overloads Function PrintDialog( _ ByVal printerSettings As PrinterSettings, _ ByVal selectedPageNumbers() As Integer, _ ByVal showProgress As Boolean _ ) As Boolean
public bool PrintDialog( PrinterSettings printerSettings, int[] selectedPageNumbers, bool showProgress )
Parameters
- printerSettings
- The printer settings to use.
- selectedPageNumbers
- The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.
- showProgress
- Indicates whether to show print progress.
Return Value
true if the document was printed, false otherwise.